/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconLogoAppleFilled: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M638.944 201.824c-30.176 36.48-79.584 64.864-128.032 61.12-6.56-49.6 17.856-101.184 45.792-133.6 31.2-36.48 83.744-63.584 127.2-65.344 5.536 50.56-14.848 101.28-44.96 137.824z m108.704 320.896c1.152 127.552 109.44 171.936 115.584 174.464a23.808 23.808 0 0 1 0.256 0.096l-0.32 1.056c-2.72 8.64-20.192 64.32-59.488 121.76-35.968 52.608-73.28 104.928-132.064 105.984-28.288 0.544-47.168-7.616-66.816-16.128-20.544-8.896-41.92-18.144-75.712-18.144-35.424 0-57.792 9.536-79.36 18.72-18.656 7.968-36.704 15.68-62.08 16.64-56.736 2.176-100-56.768-136.256-109.184-74.208-107.2-130.88-302.912-54.72-434.976 37.728-65.6 105.28-107.2 178.592-108.256 31.584-0.576 62.208 11.584 88.96 22.208 20.48 8.16 38.72 15.36 53.472 15.36 13.248 0 31.008-6.976 51.712-15.136 32.576-12.864 72.48-28.608 113.6-24.416 28.096 1.152 107.136 11.328 157.856 85.504l-0.704 0.416c-9.28 5.824-93.536 58.336-92.48 164.032z"
        fill={getIconColor(color, 0, '#000000')}
        fillOpacity=".9"
      />
    </svg>
  );
};

IconLogoAppleFilled.defaultProps = {
  size: 18,
};

export default IconLogoAppleFilled;
